﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAO;
using DTO;
using System.Data;

namespace BUS
{
    public class LoaiKhachHangBUS
    {
        public static DataTable GetAll()
        {
            return LoaiKhachHangDAO.GetAll();
        }
        public static void InsertLoaiKhach(LoaiKhachHangDTO lkh)
        {
            LoaiKhachHangDAO.InsertLoaiKhach(lkh);
        }
        public static void UpdatetLoaiKhach(LoaiKhachHangDTO lkh)
        {
            LoaiKhachHangDAO.UpdatetLoaiKhach(lkh);
        }
        public static DataTable HeSoLoaiKhachTheoMaLoai(int MaLoaiKhach)
        {
            return LoaiKhachHangDAO.HeSoLoaiKhachTheoMaLoai(MaLoaiKhach);
        }
        //************************************************//
        //Author:Nguyen Tan Phat
        //MSSV:1173025
        //Class:11HT
        #region
        public static DataSet SelectAll()
        {
            return LoaiKhachHangDAO.SelectAll();
        }
        public static int Insert(LoaiKhachHangDTO LOAIKHACHHANG)
        {
            return LoaiKhachHangDAO.Insert(LOAIKHACHHANG);
        }
        public static void Delete(int MaLoaiKhach)
        {
            LoaiKhachHangDAO.Delete(MaLoaiKhach);
        }
        public static void Update(LoaiKhachHangDTO LOAIKHACHHANG)
        {
            LoaiKhachHangDAO.Update(LOAIKHACHHANG);
        }
        #endregion
        //************************************************//
        
    }
}
